Set Constructor (IEqualityComparer)

Wintellect PowerCollections

Collapse imageExpand ImageCollapseAll imageExpandAll imageDropDown imageDropDownHover imageCopy imageCopyHover image
[This topic is pre-release documentation and is subject to change in future releases. Blank topics are included as placeholders.]

Creates a new Set. The Equals and GetHashCode method of the passed comparer object will be used to compare items in this set.

Namespace: Wintellect.PowerCollections
Assembly:  PowerCollections (in PowerCollections.dll)

Syntax

C#
public Set(
	IEqualityComparer<T> equalityComparer
)
Visual Basic (Declaration)
Public Sub New ( _
	equalityComparer As IEqualityComparer(Of T) _
)
Visual C++
public:
Set (
	IEqualityComparer<T>^ equalityComparer
)

Parameters

equalityComparer
IEqualityComparer<(Of <T>)>
An instance of IEqualityComparer<T> that will be used to compare items.

See Also